package com.byxy.po;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

//标签表

@Table(name = "Label")
@Data
public class Label{
    @Column(name = "id", type = MySqlTypeConstant.INT, length = 15, isKey = true, isAutoIncrement = true)
    private Integer id;//标签id
    @Column(name = "name", type = MySqlTypeConstant.VARCHAR, length = 15)
    private String name;
    @Column(name = "publ_time", type = MySqlTypeConstant.DATETIME)
    private Date publTime;// 发表时间


}
